package com.genokon.druid.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author by baichaoda
 * @date 2020/7/31 11:47
 */
@FeignClient(name = "requestHopDataService", url = "http://49.4.68.254:8081")
public interface RequestHopDataService {
    /**
     * 获取hpo数据
     * @param authorization token
     * @param page 页码
     * @return 内容
     */
    @GetMapping(value = "/knowledge/hpo/")
    String getHpo(@RequestHeader("Authorization") String authorization, @RequestParam("page")int page);
}
